package com.huiminpay.merchant.convert;

import com.huiminpay.merchant.dto.dto.MerchantDTO;
import com.huiminpay.merchant.entity.Merchant;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface MerchantConvert {
    MerchantConvert INSTANCR = Mappers.getMapper(MerchantConvert.class);
    Merchant DTodaoEntity (MerchantDTO merchantDTO);
    MerchantDTO EntitydaoDTo (Merchant merchant);
}
